﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 熊妈妈:Minion
    {//最新补丁改为+5/+5.
        public 熊妈妈():base()
        {
            buff = 5;
            Star = 6;
            Attack = 5;
            Health = 5;
            Race = race.beast;
        }


        public override void OnSpawn(Minion m)
        {
            if ((m.Race == race.beast || m.Race == race.all))
            {
                if (pool.board.Debug)
                    Console.WriteLine("触发了熊妈妈特效,{0}获得+5/+5。", m.Name);
                m.Attack += buff;
                m.Health += buff;
            }
        }


        public override Minion NewOne()
        {
            return new 熊妈妈();
        }
    }


    class 熊妈妈_金色 : 熊妈妈
    {
        public 熊妈妈_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override Minion NewOne()
        {
            return new 熊妈妈_金色();
        }
    }
}
